/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import org.hibernate.SessionFactory;

/**
 *
 * @author Tania M
 */

//Cette classe sert de proxy pour masquer les différentes configurations des bases
public class HibernateUtilFactory {
    /**
     * 
     * @return
     */
    public static SessionFactory getHibernateUtilRSS(){
        return HibernateUtilRss.getSessionFactory();
    }
    
    /**
     * 
     * @return
     */
    public static SessionFactory getHibernateUtilNavigator(){
        return HibernateUtilNavigator.getSessionFactory();
    }
    
    /**
     * 
     * @return
     */
    public static SessionFactory getHibernateUtilMultimedia(){
        return HibernateUtilMultimedia.getSessionFactory();
    }
    
    /**
     * 
     * @return
     */
    public static SessionFactory getHibernateUtilExplorer(){
        return HibernateUtilExplorer.getSessionFactory();
    }
    
    /**
     * 
     * @return
     */
    public static SessionFactory getHibernateUtilController(){
        return HibernateUtilController.getSessionFactory();
    }
}
